package com.nh.common.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: LaoCao
 * @Date: 2023/3/16 9:08
 * @Version: 1.0
 **/
@Data
@AllArgsConstructor
@TableName("log")
public class Log implements Serializable {
    @TableId
    private Long id;

    @TableField("log_id")
    private Long logId;

    @TableField("log_date_time")
    private String logDateTime;

    @TableField("compare_result")
    private Boolean compareResult;

    @TableField(exist = false)
    private String tag;

    public Log(Long logId, String logDateTime, Boolean compareResult) {
        this.logId = logId;
        this.logDateTime = logDateTime;
        this.compareResult = compareResult;
    }

    public Log() {
    }
}
